
(() => { // webpackBootstrap
  "use strict";
  var modules__ = {

    "./src/index.js": (__unused_webpack_module, exports__, require__) => {
      // __unused_webpack_module  {exports:{}}
      // exports__ {}
      require__.r(exports__); // 把这个空对象转成了esModule对象
      var q1 = require__(
        "./src/utils/a.js");// {a,b}
      debugger
      var q2 = require__(
        "./src/utils/b.js");
      (0, q2.add)(q1.a, q1.b)

    },

    "./src/utils/a.js": (__unused_webpack_module, exports__, require__) => {
      // __unused_webpack_module  {exports:{}}
      // exports__ {}

      require__.r(exports__);

      require__.d(exports__, {
        "a": () => {
          console.log("有人调用a属性了")
          return a
        },
        "b": () => (b)
      });
      debugger
      // exports__  {a:definition[a],b}
      let a = 200;
      let b = 100;
    },

    "./src/utils/b.js": (__unused_webpack_module, exports__, require__) => {

      eval("require__.r(exports__);\n/* harmony export */ require__.d(exports__, {\n/* harmony export */   \"add\": () => (/* binding */ add)\n/* harmony export */ });\nfunction add(x, y) {\r\n  console.log(x + y)\r\n}\n\n//# sourceURL=webpack://day2/./src/utils/b.js?");

    }

  };
  /************************************************************************/
  // The module cache
  var module_cache__ = {};

  // The require function
  function require__(moduleId) {
    //moduleId :"./src/index.js" 
    // moduleId :"./src/utils/a.js"
    // Check if module is in cache
    var cachedModule = module_cache__[moduleId];
    if (cachedModule !== undefined) {
      return cachedModule.exports;
    }
    // Create a new module (and put it into the cache)
    var module = module_cache__[moduleId] = {
      exports: {}
    };

    // Execute the module function
    modules__[moduleId](module, module.exports, require__);
    // 这行代码执行完成之后  module.exports 就不再是一个空对象了

    // Return the exports of the module
    return module.exports;
  }

  /************************************************************************/
  /* webpack/runtime/define property getters */
  (() => {
    // 把definition 中的属性 通过 defineProperty 添加到exports中
    require__.d = (exports, definition) => {
      for (var key in definition) {
        if (require__.o(definition, key) && !require__.o(exports, key)) {
          Object.defineProperty(exports, key, {
            enumerable: true,
            get: definition[key]
          });
        }
      }
    };
  })();

  /* webpack/runtime/hasOwnProperty shorthand */
  (() => {
    // 判断一个属性是否是一个对象的私有属性
    require__.o = (obj, prop) => (
      Object.prototype.hasOwnProperty.call(obj, prop)
    )
  })();

  /* webpack/runtime/make namespace object */
  (() => {
    // 把一个普通对象转化成一个 esmodule对象
    require__.r = (exports) => {
      if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {
        Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
      }
      Object.defineProperty(exports, '__esModule', { value: true });
    };
  })();

  var exports__ = require__("./src/index.js");

})()
  ;